package com.pattern.factory.abstactFactory;

/**
 * Description
 *
 * @author hubiao
 * @since 2020-08-19 21:20
 */
public class abstactFactoryTest {

    public static void main(String[] args) {
        AbstartFactory abstartFactory = new HotelFactory();
        abstartFactory.createBed().describe();
        abstartFactory.createHouse().describe();
    }
}
